package com.uzai.console.service.locallive;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.uzai.console.dto.jd.jdorder.JdOrderIdDto;
import com.uzai.console.dto.locallive.mtorder.*;
import com.uzai.console.vo.locallive.mtorder.MtOrderInfoVo;
import com.uzai.console.vo.locallive.mtorder.MtOrderReportVo;

/**
 * @author liuqi
 * @date 2021年08月13日 11:33
 */
public interface MtOrderService {

    /**
     * 查询美团订单列表
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param mtOrderQuery
     * @return null
     */
    Page<MtOrderInfoVo> findMtOrderList(MtOrderQuery mtOrderQuery);

    /**
     * 查询美团订单详情
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param mtOrderIdDto
     * @return null
     */
    MtOrderInfoVo findMtOrderInfo(MtOrderIdDto mtOrderIdDto);

    /**
     * 查询美团订单统计信息
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param mtOrderQuery
     * @return null
     */
    MtOrderReportVo findMtOrderRepot(MtOrderQuery mtOrderQuery);

    /**
     * 美团订单删除-假删除（修改是否删除状态）
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param mtOrderDelDto
     * @return null
     */
    Boolean delMtOrder(MtOrderDelDto mtOrderDelDto);

    /**
     * 订单确认收货
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param mtOrderIdDto
     * @return null
     */
    Boolean confirmReceive(MtOrderIdDto mtOrderIdDto);

    /**
     * 订单手动维权
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param mtOrderIdDto
     * @return null
     */
    Boolean confirmRefund(MtOrderIdDto mtOrderIdDto);

    /**
     * 订单冻结
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param mtOrderIdDto
     * @return null
     */
    Boolean confirmFrozen(MtOrderIdDto mtOrderIdDto);

    /**
     * 订单解冻
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param mtOrderIdDto
     * @return null
     */
    Boolean confirmThaw(MtOrderIdDto mtOrderIdDto);

    /**
     * 订单解绑用户
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param mtOrderUnbindUserDto
     * @return null
     */
    Boolean unbindUser(MtOrderUnbindUserDto mtOrderUnbindUserDto);

    /**
     * 订单绑定用户
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param mtOrderBindUserDto
     * @return null
     */
    Boolean bindUser(MtOrderBindUserDto mtOrderBindUserDto);

    /**
     * 修改解冻时间
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param mtOrderThawTimeDto
     * @return null
     */
    Boolean updateThawTime(MtOrderThawTimeDto mtOrderThawTimeDto);

    /**
     * 手动下载美团订单
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param mtOrderDownLoadDto
     * @return null
     */
    void downloadOrder(MtOrderDownLoadDto mtOrderDownLoadDto);

    /**
     * 刷新美团订单
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param mtOrderIdDto
     * @return null
     */
    void refreshOrder(MtOrderIdDto mtOrderIdDto);

    /**
     * 追回返利
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param mtOrderIdDto
     * @return null
     */
    Boolean rebateRefound(MtOrderIdDto mtOrderIdDto);

}
